package 反弹球;

import org.graalvm.compiler.lir.LIRInstruction;

/**
 * @author Administrator
 * @ClassName Ball
 * @TIME 星期五 2020/12/25
 */
public class Ball extends Thread {
    @Override
    public void run() {
        int max = 10;
        //从一百
        double m = 100;
        for (int i = 1; i <= max; i++) {
            m = m / 2;
            System.out.println("第" + i + " 次弹跳的高度" + m);
        }
    }

    public static void main(String[] args) {
        Ball ball = new Ball();
        ball.start();
    }
}
